package cn.qiyu5522.tk_ems.service;

import cn.qiyu5522.tk_ems.entity.Classroom;
import cn.qiyu5522.tk_ems.entity.dto.ClassroomDTO;
import cn.qiyu5522.tk_ems.entity.dto.QueryParamDTO;
import cn.qiyu5522.tk_ems.result.R;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tonkey
 * @since 2023-02-07
 */
public interface ClassroomService extends IService<Classroom> {

    R queryMajorByPageCondition(QueryParamDTO<ClassroomDTO> queryParamDTO);

    R saveMore(List<ClassroomDTO> classroomDTOS);

    R removeMore(List<Long> ids);

    List<Classroom> getForIdAndName();

    R getDepAndMaJor();

    R queryByName(String name);
}
